<template>
  <!-- loading 加载 -->
  <view v-if="isShow" class="mix-loading-content" @click="isShow = false">
  </view>
</template>

<script>
export default {
  props: {
    top: {
      // 距离顶部距离，单位upx
      type: Number,
      default: 0
    }
  },
  data() {
    return {
      isShow: false
    }
  },
  methods: {
    show() {
      this.isShow = !this.isShow
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
